//
//  NoteTabButton.h
//  Digital Seamonsters
//
//  Created by Adam Cue on 2/2/11.
//  Copyright Adam Cue 2011.
//
//  This program is licensed and distributed under the terms of the GNU General Public License.  
//	The text for the license can be found in the license.txt file in this project.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "NoteViewController.h"
#import "Note.h"

@protocol NoteTabButtonDelegate
- (void)showNote:(NSString *)text button:(UIView *)tabButton;
- (void)noteEmailed:(NSString *)text;
- (void)noteDeleted:(Note *)note;
@end


@interface NoteTabButton : UIView <NoteViewControllerDelegate>{
	IBOutlet UILabel * _noteLabel;
	Note * _note;
	id <NoteTabButtonDelegate> delegate;
}

#pragma mark ExternalMethods
- (void)showNote;

@property(nonatomic, retain) Note * note;
@property(nonatomic, assign) id <NoteTabButtonDelegate> delegate;
@property(readonly) UILabel *noteLabel;

@end
